// to represent a line of credit account in a bank
public class Credit extends AAccount{
	
	public int creditLine;   // the total amount of money they may have access to.
	public double interest;  // The APR at which they are charged
	boolean isSavings = false;
	
	public Credit(int accountNum, int balance, String name,
			          int creditLine, double interest){
		super(accountNum, balance, name);
		this.creditLine = creditLine;
		this.interest = interest;
		
	}
	
	public boolean checkMe(Checker c){
		return c.b.check(balance) && c.n.check(name) && c.s.check(isSavings);
	}
	
}

